<template>
    <div class="sjplatformAdd">
        <el-form label-width="100px">
            <el-form-item label="key：">
                <el-input v-model="projectStore.projectSettingModel.skey" />
            </el-form-item>
            <el-form-item label="value：">
                <el-input v-model="projectStore.projectSettingModel.svalue" />
            </el-form-item>
            <el-form-item label="类型：">
                <el-select v-model="projectStore.projectSettingModel.stype" placeholder="请选择类型">
                    <el-option v-for="item in projectSettingTable.settingTypes" :key="item.value" :label="item.label"
                        :value="item.value" />
                </el-select>
            </el-form-item>
        </el-form>
    </div>
</template>

<script lang="ts" setup>
import { useProjectSettingTable } from "../../../hooks/ProjectManager/Setting/useProjectSettingTable";
let { projectSettingTable, projectStore } =
    useProjectSettingTable(0, 10);

</script>